<template>
  <div id="app">
    <router-view />
    <theme-picker />
<!--    <div class="el-register-footer">-->
<!--      <span><a href="https://beian.miit.gov.cn" target="_blank">鲁ICP备2024107237号-1</a></span>-->
<!--    </div>-->
  </div>
</template>

<script>
import ThemePicker from "@/components/ThemePicker";
import Footer from "@/layout/components/Footer/index.vue";

export default {
  name: "App",
  components: {Footer, ThemePicker },
  metaInfo() {
    return {
      title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
      titleTemplate: title => {
        return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
      }
    }
  }
};
</script>
<style scoped>
#app .theme-picker {
  display: none;
}
.el-register-footer {
  position: fixed;
  height: 40px;
  line-height: 40px;
  bottom: 0;
  width: 100%;
  text-align: center;
  //color: #fff;
  border-top: solid #e7e7e7;
  font-family: Arial;
  font-size: 12px;
  letter-spacing: 1px;
}
</style>
